<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
	content="width=device-width,user-scalable=no, initial-scale=1">
<title>待分配订单详情</title>
<link rel="stylesheet" type="text/css"
	href="../static/azxcrm/css/wap/aui.css"
	th:href="@{/azxcrm/css/wap/aui.css}" />
<link rel="stylesheet" type="text/css"
	href="../static/azxcrm/css/wap/aui.css"
	th:href="@{/azxcrm/css/wap/undistributed.css}" />
<link rel="stylesheet" type="text/css"
	href="//at.alicdn.com/t/font_835360_5n3z54a5m1.css" />
</head>
<body>
	<header class="aui-bar aui-bar-nav">
		<a href="javascript:history.back(-1)" class="aui-pull-left aui-btn">
			<span class="iconfont icon-fanhui1">返回</span>
		</a>
		<div class="aui-title">待分配订单详情</div>
	</header>
	<section class="aui-grid aui-margin-b-15">
		<div class="aui-content">
			<ul class="aui-list aui-list-in">
				<li class="aui-list-item">
					<div class="aui-list-item-inner">
						<div class="clearfix">
							<div class="aui-list-item-title">订单编号：</div>
							<div class="aui-text"><span th:text="${orderList.orderNum}"></span></div>
						</div>
					</div>
				</li>
				<li class="aui-list-item">
					<div class="aui-list-item-inner">
						<div class="clearfix">
							<div class="aui-list-item-title">订单类型：</div>
							<div class="aui-text"><span th:text="${orderList.typeName}"></span></div>
						</div>
					</div>
				</li>
			</ul>
		</div>

		<div class="aui-content">
			<ul class="aui-list aui-list-in">
				<li class="aui-list-header">
					<h3>
						<img src="../azxcrm/image/wap/card.jpg">客户信息
					</h3>
				</li>
				<li class="aui-list-item">
					<div class="aui-list-item-inner">
						<div class="clearfix">
							<div class="aui-list-item-title">客户姓名：</div>
							<div class="aui-text"><span th:text="${customerClue.customerName}"></span></div>
						</div>
					</div>
				</li>
				<li class="aui-list-item">
					<div class="aui-list-item-inner">
						<div class="clearfix">
							<div class="aui-list-item-title">客户性别：</div>
							<div class="aui-text"><span
                            th:if="${customerClue.customerSex} == 0">未知</span> <span
                            th:if="${customerClue.customerSex} == 1">男</span> <span
                            th:if="${customerClue.customerSex} == 2">女</span></div>
						</div>
					</div>
				</li>
				<li class="aui-list-item">
					<div class="aui-list-item-inner">
						<div class="clearfix">
							<div class="aui-list-item-title">客户年龄：</div>
							<div class="aui-text"><span th:text="${customerClue.customerAge}"></span></div>
						</div>
					</div>
				</li>
				<li class="aui-list-item">
					<div class="aui-list-item-inner">
						<div class="clearfix g-div">
							<div class="aui-list-item-title" style="width: 24%;text-align: right;">所在地：</div>
							<div class="aui-text aui-jy"><span th:text="${customerClue.customerProvince}+'-'+${customerClue.customerCity}+'-'+${customerClue.customerArea}+'-'+${customerClue.customerAddressDetail}"></span></div>
						</div>
					</div>
				</li>
			</ul>
		</div>

		<div class="aui-content">
			<ul class="aui-list aui-list-in">
				<li class="aui-list-header">
					<h3>
						<img src="../azxcrm/image/wap/rzsq.png">入住诉求
					</h3>
				</li>
				<li class="aui-list-item">
					<div class="aui-list-item-inner">
						<div class="clearfix">
							<div class="aui-list-item-title">入住类型：</div>
							<div class="aui-text"><span
                                th:if="${customerClue.occupancyType} == 0">非本类型线索</span><span
                                th:if="${customerClue.occupancyType} == 1">长住</span><span
                                th:if="${customerClue.occupancyType} == 2">短住</span></div>
						</div>
					</div>
				</li>
			</ul>
		</div>
		<div class="aui-content">
			<ul class="aui-list aui-list-in" th:each="customerAttendance:${customerAttendanceList}">
				<li class="aui-list-header">
					<h3>
						<img src="../azxcrm/image/wap/ckxx.png">参课信息
					</h3>
				</li>
				<li class="aui-list-item">
					<div class="aui-list-item-inner">
						<div class="clearfix"> 
							<div class="aui-list-item-title">参课时间：</div>
							<div class="aui-text"><span th:text="${customerAttendance.attendanceTime}"></span></div>
						</div>
					</div>
				</li>
				<li class="aui-list-item">
					<div class="aui-list-item-inner">
						<div class="clearfix">
						    <div class="aui-list-item-title">业务员：</div>
							<div class="aui-text"><span th:text="${orderList.salesUserName}"></span></div>
						</div>
					</div>
				</li>
			</ul>
		</div>

		<div class="aui-content">
			<ul class="aui-list aui-list-in">
				<li class="aui-list-header">
					<h3>
						<img src="../azxcrm/image/wap/kfxx.png">客服信息
					</h3>
				</li>
				<li class="aui-list-item">
					<div class="aui-list-item-inner">
						<div class="clearfix">
							<div class="aui-list-item-title">专属客服：</div>
							<div class="aui-text"><span th:text="${orderList.serviceUserName}"></span></div>
						</div>
					</div>
				</li>
				<li class="aui-list-item">
					<div class="aui-list-item-inner">
						<div class="clearfix">
							<div class="aui-list-item-title">联系电话：</div>
							<div class="aui-text"><span th:text="${user.phonenumber}"></span></div>
						</div>
					</div>
				</li>
			</ul>
		</div>

		<div class="aui-content">
			<ul class="aui-list aui-list-in">
				<li class="aui-list-item">
					<div class="aui-list-item-inner">
					  <div class="clearfix g-div">
					    <div class="aui-list-item-title" style="width: 24%;text-align: right;">客服建议：</div>
                        <div class="aui-text aui-jy" th:text="${clueCommunication.suggestion}"></div>
					  </div>
					</div>
				</li>
			</ul>
		</div>
	</section>
	<footer class="aui-bar aui-bar-tab" id="footer">
		<a th:href="@{/wap/wapSelectSales(orderId=${orderList.orderId})}" class="aui-bar-tab-item">
			<div class="aui-bar-tab-label">选择业务员进行分配</div>
		</a>
	</footer>
</body>
</html>
